﻿@model TravelWD.Models.RegisterModel

@{
    ViewBag.Title = "Register";
}

<h2>Enter your details to register</h2>

@using (Html.BeginForm())
{
    <table style="height:270px; width:700px;">
        <tr>
            <td style="width:150px;">
                <strong>First Name:</strong>
            </td>
            <td>
                @Html.TextBoxFor(model => model.FirstName, new { @class="txtcls"})
                <span class="error">@Html.ValidationMessageFor(model => model.FirstName)</span>
            </td>
        </tr>
        <tr>
            <td>
                <strong>Last Name:</strong>
            </td>
            <td>
                @Html.TextBoxFor(model => model.LastName, new { @class="txtcls"})
                <span class="error">@Html.ValidationMessageFor(model => model.LastName)</span>
            </td>
        </tr>
        <tr>
            <td>
               <strong>Email ID:</strong>
            </td>
            <td>
                @Html.TextBoxFor(model => model.EmailID, new { @class="txtcls"})
                <span class="error">@Html.ValidationMessageFor(model => model.EmailID)</span>
            </td>
        </tr>
        <tr>
            <td>
                <strong>Username:</strong>
            </td>
            <td>
                @Html.TextBoxFor(model => model.Username, new { @class="txtcls"})
                <span class="error">@Html.ValidationMessageFor(model => model.Username)</span>
            </td>
        </tr>
        <tr>
            <td>
               <strong>Password:</strong>
            </td>
            <td>
                @Html.PasswordFor(model => model.Password, new { @class="txtcls"})
                <span class="error">@Html.ValidationMessageFor(model => model.Password)</span>
            </td>
        </tr>
        <tr>
            <td>
                 <input type="submit" class="button" value="Register" />
            </td>
            <td >
               
            </td>
        </tr>
    </table>

}

